<template>
	<view class="content">
		<navigator url="../my/about?uid=100&t=1535987051" open-type="switchTab">
			<text :id="title_id" class="title">{{title}}</text>
		</navigator>
	</view>
</template>

<script>
	export default {
		data: {
			title: 'Hello',
			title_id: 'hello_id'
		},
		onLoad(e) {

			Object.prototype.objCustom = function() {};
			Array.prototype.arrCustom = function() {};

			let iterable = [3, 5, 7];
			iterable.foo = "hello";

			for (let i in iterable) {
				console.log(i); // logs 0, 1, 2, "foo", "arrCustom", "objCustom"
			}

			for (let i of iterable) {
				console.log(i); // logs 3, 5, 7
			}


		}
	}
</script>

<style>
	.content {
		flex: 1;
		justify-content: center;
		align-items: center;
	}

	.title {
		font-size: 36px;
		color: #8f8f94;
	}
</style>
